package com.a100.equipment.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 设备档案
 * </p>
 *
 * @author index
 * @since 2021-12-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="EquArchives", description="设备档案")
public class EquArchives implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "设备分类id")
    private Long categoryId;

    @ApiModelProperty(value = "设备编号")
    private String number;

    @ApiModelProperty(value = "设备名称")
    private String aname;

    @ApiModelProperty(value = "使用状态：0未启用，1启用")
    private Boolean state;

    @ApiModelProperty(value = "使用组织")
    private String organization;

    @ApiModelProperty(value = "使用部门")
    private String department;

    @ApiModelProperty(value = "使用人员")
    private String personnel;

    @ApiModelProperty(value = "财务状态：0未入账，1已入账")
    private Boolean financialRegistration;

    @ApiModelProperty(value = "逻辑删除 1（true）已删除， 0（false）未删除")
    private Boolean isDeleted;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "创建时间")
    private Date gmtCreate;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "更新时间")
    private Date gmtModified;


}
